package com.sdp.wx.controller;


import com.sdp.core.bizc.db.Query;
import com.sdp.core.bizc.vo.DataCenter;
import com.sdp.core.bizc.vo.Result;
import com.sdp.wx.db.wx_countersignature_project.entity.WxCountersignatureProject;
import com.sdp.wx.db.wx_countersignature_project.service.IWxCountersignatureProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zsp
 * @since 2024-03-13
 */
@RestController
@RequestMapping("/WxCountersignatureProjectController")
public class WxCountersignatureProjectController {

    @Autowired
    private IWxCountersignatureProjectService iWxCountersignatureProjectService;

    @Autowired
    private Query query;
    @PostMapping(value = "/page")
    public Result<?> page(@RequestBody DataCenter dataCenter) {
        return Result.ok(query.page(iWxCountersignatureProjectService, WxCountersignatureProject.class, dataCenter));
    }
}

